<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/ok" method="post">
    <span th:if="${failure}==T" style="color: red">用户名或密码错误</span>
    <div>
        <input type="text" name="name" /><br>
        <input type="password" name="pwd" /><br>
        <input type="submit" value="登录"> 记住我：<input type="checkbox" value="true" name="remember-me">
    </div>
</form>
</body>
</html>